package Test.ThreadLocalDemo;

/**
 * 探寻threadLocalMap的真实扩容阈值
 *
 * @author handsomePot
 * @date 2022/1/16 14:19
 */
public class Demo02 {


    public static void main(String[] args) {

        ThreadLocal<String> local01 = new ThreadLocal<>();
        local01.set("1");

        ThreadLocal<String> local02 = new ThreadLocal<>();
        local02.set("12");

        ThreadLocal<String> local03 = new ThreadLocal<>();
        local03.set("123");

        ThreadLocal<String> local04 = new ThreadLocal<>();
        local04.set("1234");

        ThreadLocal<String> local05 = new ThreadLocal<>();
        local05.set("12345");

        ThreadLocal<String> local06 = new ThreadLocal<>();
        local06.set("123456");

        ThreadLocal<String> local07 = new ThreadLocal<>();
        local07.set("1234567");

        ThreadLocal<String> local08 = new ThreadLocal<>();
        local08.set("12345678");

        ThreadLocal<String> local09 = new ThreadLocal<>();
        local09.set("123456789");

    }


}
